<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<authz:authorize ifNotGranted="ROLE_ANONYMOUS">
	Hello, <authz:authentication operation="username" />!
	<br />
	<s:a href="/j_acegi_logout">Logout</s:a>
</authz:authorize>
<authz:authorize ifAnyGranted="ROLE_ANONYMOUS">
	<div id="loginContainer">
	</div>
	<div id="registrationContainer">
	</div>
</authz:authorize>